package com.yexuejc.dubbo.serivce;


import com.alibaba.dubbo.config.annotation.Service;
import com.yexuejc.dubbo.api.TestSrv;

/**
 * @author maxf
 * @PackageName com.yexuejc.dubbo.serivce
 * @Description
 * @date 2018/9/13 21:11
 */
@Service( version = "${demo.service.version}",
        application = "${dubbo.application.id}",
        protocol = "${dubbo.protocol.id}",
        registry = "${dubbo.registry.id}")
public class TestSrvImpl implements TestSrv {
    @Override
    public String hello(String name) {
        return "hello " + name;
    }
}
